<template>
    <el-form  label-width="120px">
       <el-form-item  label="是否只读："> 
         <el-radio v-model="item.ui.disabled" :label="true">是</el-radio>
         <el-radio v-model="item.ui.disabled" :label="false">否</el-radio> 
        </el-form-item>
        <el-form-item  label="是否禁用："> 
         <el-radio v-model="item.ui.readonly" :label="true">是</el-radio>
         <el-radio v-model="item.ui.readonly" :label="false">否</el-radio> 
        </el-form-item>
        <el-form-item  label="步长："> 
           <el-input-number v-model="item.ui.widgetConfig.step" ></el-input-number> 
        </el-form-item> 
         <el-form-item> 
             <el-button @click="handerClick">关闭</el-button>
        </el-form-item> 
    </el-form>
</template>

<script>
export default {
  props: ["item"],
  name: "inputnumberitem",
  methods: {
    handerClick: function() {
      this.$emit("hclick");
    }
  }
};
</script>

